<?php

/**
 * User-role reference map
 *
 * @author    Mon Zafra <monzee at gmail>
 * @copyright (c)2009 Mon Zafra
 * @license   http://monzee.wordpress.com/license New BSD
 * @version   $Id: UserRole.php 38 2009-02-18 17:12:39Z monzee $
 */
abstract class Admin_Doctrine_Base_UserRole extends Doctrine_Record
{
  public function setTableDefinition()
  {
    $this->setTableName('user_roles');
    $this->hasColumn('user_id', 'int', 5, array('type' => 'int', 'primary' => true, 'length' => '5'));
    $this->hasColumn('role_id', 'string', 64, array('type' => 'string', 'primary' => true, 'length' => '64'));
  }

}